import org.restlet.resource.*;
import org.restlet.data.*;


if (page - 1 > pagedList.getLastPage()) {
				throw new SimpleException("Invalid page number");
}